'use strict';

module.exports = function (gulp, PLUGIN, CONF) {
    gulp.task('api-readme-combine', function () {
        return gulp.src([
                CONF.src + 'module/api/controller/1/**/*.md',
                CONF.src + 'module/api/controller/1/**/*.markdown'
            ])
            .pipe(PLUGIN.concat('APP接口文档.md', {newLine: '\r\n\r\n'}))
            .pipe(gulp.dest(CONF.dist + '../APP_CENTER_WIKI/'));
    });
};